<?php
    session_start();
    if (!isset($_SESSION['user']) || $_SESSION['user'] == NULL) {
        Redirect('admin/login.php');
    }
?>
<div class="Page">
    <div id="AdminStatus">
    </div>
</div>
<div class="header">
    <div class="be-logo">
        <span>Tesdo Admin</span>
    </div>
    <div class="toolbox">
        Welcome Administrator | | <a href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/' ?>index.php" target="_blank">Go to front page</a>
        | <a href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/' ?>admin/layers/bll/logout_bll.php" id="aLogin">Log off</a>
    </div>
</div>
<div class="tabs toprounded">
    <div class="topmenu" id="Menu1" style="float: left;">
        <ul class="level1 static" tabindex="0" role="menubar" style="position: relative; width: auto; float: left;">
            <li role="menuitem" class="static" style="position: relative; float: left;">
                <a class="level1 static" href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/admin/' ?>index.php" tabindex="-1">Home</a>
            </li>
            <li role="menuitem" class="static" style="position: relative; float: left;">
                <a class="level1 static" href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/admin/' ?>thesis.php" tabindex="-1">Publication &amp; Journals</a>
            </li>
            <li role="menuitem" class="static" style="position: relative; float: left;">
                <a class="level1 static" href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/admin/' ?>categories.php" tabindex="-1">Categories</a>
            </li>
            <li role="menuitem" class="static" style="position: relative; float: left;">
                <a class="level1 static" href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/admin/' ?>articles.php" tabindex="-1">Manage Articles</a>
            </li>
            <li role="menuitem" class="static" style="position: relative; float: left;">
                <a class="level1 static" href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/admin/' ?>papers.php" tabindex="-1">Manage Papers</a>
            </li>
            <li role="menuitem" class="static" style="position: relative; float: left;">
                <a class="level1 static" href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/admin/' ?>add_news.php" tabindex="-1">Manage News</a>
            </li>
            <li role="menuitem" class="static" style="position: relative; float: left;">
                <a class="level1 static" href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/admin/' ?>change_password.php" tabindex="-1">Change Password</a>
            </li>
        </ul>
    </div>
    <div style="clear: left;"></div><a id="Menu1_SkipLink"></a>
</div>
<div class="clear">
</div>